package com.example.mybatis_demo.mapper;

import com.example.mybatis_demo.model.ArticleInfo;
import com.example.mybatis_demo.model.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2022-12-20
 * Time: 15:17
 */

@Mapper
public interface ArticleMapper {
    //一对一多表联查
    //通过文章id找到用户信息
    ArticleInfo getAId(Integer id);



}
